package com.wzdigit.wms.basic.domain.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzdigit.framework.orm.model.BasicDomain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 货品属性
 * @author yangdongjie
 * @Sku.java
 * @2021年1月20日下午4:52:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_SKU_ATTR")
@KeySequence(value = "WMS_SKU_ATTR_SEQ", clazz = Integer.class)
public class SkuAttr extends BasicDomain {
	
	private static final long serialVersionUID = 8704041308026302588L;

	@TableId(value = "SKU_ATTR_ID", type = IdType.INPUT)
    private Integer skuAttrId;
	
	/**
	 * 产品ID
	 */
	@TableField("SKU_ID")
    private Integer skuId;

	/**
	 * 属性
	 */
	@TableField("ATTR")
    private String attr;

	/**
	 * 值
	 */
	@TableField("VALUE")
    private String value;

	/**
	 * 备注
	 */
	@TableField("COMMENTS")
    private String comments;

	/**
	 * 是否有效
	 */
	@TableField("IS_ENABLED")
    private Integer isEnabled;
}